package com.kim.bookshop.user.bean;
/*
 * User领域对象
 */
public class User {
	private String uid;
	private String userName;
	private String realName;
	private String idNo;
	private  String address;
	private String phone;
	private String password;
	private String email;
	private String code;
	private int state;
	private int role;
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getIdNo() {
		return idNo;
	}
	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}

	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}



	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	@Override
	public String toString() {
		return "User [uid=" + uid + ", userName=" + userName + ", realName=" + realName + ", idNo=" + idNo
				+ ", address=" + address + ", phone=" + phone + ", password=" + password + ", email=" + email
				+ ", code=" + code + ", state=" + state + ", role=" + role + "]";
	}


	
	
}
